<?php

namespace app\admin\model;

use think\Model;

class Site extends Model
{
    public function siteNode()
    {
        return $this->belongsTo('SiteNode');
    }

    public function photos()
    {
        return $this->belongsTo('Photo');
    }


    protected $table = 'sites';
}